home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 February
/
EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso
/
enigma
/
earcd
/
giochi
/
giochi4
/
dshd.lha
/
DesertStrike
/
Install-DS
< prev
next >
Wrap
Text File
|
1996-12-26
|
1KB
|
73 lines
(set #CI_unit 0)
(set #CI_drive ("DF%ld:" #CI_unit))
;----------------------------
(set @default-dest
(askdir
(prompt ("Where should %s installed ?\nA drawer \"%s\" will automatically created." @app-name @app-name))
(help @askdir-help)
(default @default-dest)
(disk)
)
)
(set #dest (tackon @default-dest @app-name))
(makedir #dest
(help @makedir-help)
(infos)
)
;----------------------------
(copyfiles
(help @copyfiles-help)
(source "dshd")
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source "dshd.info")
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source "dshd.readme.info")
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source "dshd.readme")
(dest #dest)
)
(message ("\nInsert %s disk 1 into drive %s !" @app-name #CI_drive))
(if
(= 0 (run ("disk2file %ld \"%s/DesertStrike.disk1\" >con:///1000//CLOSE/WAIT" #CI_unit #dest )))
("")
(abort "\"disk2file\" must be in your PATH !")
)
(message ("\nInsert %s disk 2 into drive %s !" @app-name #CI_drive))
(if
(= 0 (run ("disk2file %ld \"%s/DesertStrike.disk2\" >con:///1000//CLOSE/WAIT" #CI_unit #dest )))
("")
(abort "\"rob2file\" must be in your PATH !")
)
(message ("\nInsert %s disk 3 into drive %s !" @app-name #CI_drive))
(if
(= 0 (run ("disk2file %ld \"%s/DesertStrike.disk3\" >con:///1000//CLOSE/WAIT" #CI_unit #dest )))
("")
(abort "\"rob2file\" must be in your PATH !")
)
(exit)